- 
		Home
	
 
	- 
MailPoet – Newsletters, Email Marketing, and Automation
 
- 
4.44.1
 
- 
Code
 
- 
Classes
 
-  NewsletterSaveController 
 
	
	
		
			
				
					
													
								
																			
											| Total Complexity | 
											69 | 
										
																			
											| Dependencies | 
											31 | 
										
																			
											| Dependents | 
											3 | 
										
																	
							 
													
								
																			
											| Total lines | 
											427 | 
										
																			
											| Lines of code | 
											287 | 
										
																			
											| Logical lines of code | 
											189 | 
										
																	
							 
													
								
																			
											| Comment lines | 
											39 | 
										
																			
											| Methods | 
											12 | 
										
																			
											| Properties | 
											16 | 
										
																	
							 
											 
				 
									
							 
		 
	 
	Methods 12
	
		
		
			| Method | 
							Rating | 
													
					
						Maintainability
					
				 | 
										
					Complexity
				 | 
										
					Lines of code
				 | 
					
		
		
					
				| save() | 
									A  | 
																	46 | 
													12 | 
													37 | 
							
					
				| updateNewsletter() | 
									A  | 
																	49 | 
													11 | 
													32 | 
							
					
				| duplicate() | 
									A  | 
																	41 | 
													8 | 
													57 | 
							
					
				| updateSegments() | 
									A  | 
																	50 | 
													9 | 
													30 | 
							
					
				| updateQueue() | 
									S  | 
																	52 | 
													7 | 
													24 | 
							
					
				| rescheduleIfNeeded() | 
									S  | 
																	55 | 
													6 | 
													19 | 
							
					
				| updateOptions() | 
									S  | 
																	54 | 
													5 | 
													21 | 
							
					
				| createNewsletter() | 
									S  | 
																	56 | 
													3 | 
													18 | 
							
					
				| getNewsletter() | 
									S  | 
																	64 | 
													3 | 
													10 | 
							
					
				| ensureWpPost() | 
									S  | 
																	59 | 
													2 | 
													14 | 
							
					
				| __construct() | 
									S  | 
																	56 | 
													1 | 
													18 | 
							
					
				| sanitizeAutomationEmailData() | 
									S  | 
																	69 | 
													2 | 
													7 |